//
//  XZUserModel.m
//  XZIBeeBo
//
//  Created by Sean on 16/4/8.
//  Copyright © 2016年 XZSean. All rights reserved.
//

#import "XZUserModel.h"

@implementation XZUserModel

//- (instancetype)initWithUserModelDict:(NSDictionary *)dict{
//
//    if (self = [super init]) {
//        
//        self.name = dict[@"name"];
//        self.profile_image_url = dict[@"profile_image_url"];
//        self.idstr = dict[@"idstr"];
//    }
//    return self;
//}
//
//+(instancetype)userModelDict:(NSDictionary *)dict{
//    return [[self alloc] initWithUserModelDict:dict];
//}


- (void)setMbtype:(int)mbtype
{
    _mbtype = mbtype;
    
    self.vip = mbtype > 2;
}

//- (BOOL)isVip
//{
//    return self.mbrank > 2;
//}

@end
